package cc.customer.myCustomer.dao;

import cc.customer.common.config.MyMapper;
import cc.customer.myCustomer.damain.CusResource;
import cc.customer.myCustomer.damain.MyCustomer;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MyCustomerMapper extends MyMapper<MyCustomer> {

   int updateMyCustomer(@Param("customer") MyCustomer customer);

   int updateBatchList(List<String> list);

   int updateCusBatchContactMine(List<MyCustomer> list);

   int updateCusBatchTiMine(List<MyCustomer> list);

   int updateBigSeaMyTransfer(List<MyCustomer> list);

   int updateBigMyCus(List<MyCustomer> list);

   /**公司资源**/
   int updateBigMyCusLingqu(List<MyCustomer> list);

   int updateMylabel(List<MyCustomer> list);

   int moveMyGroup(List<MyCustomer> list);
   /**获取我的客户的详情**/
   MyCustomer selectMyCuatomerDetial(String myid);

   /**获取标签**/
   MyCustomer selectMyCuatomerLabel(String myid);

   /**查询个人创建客户的记录**/
   List<MyCustomer> selectMyCuatomerList(@Param("cus")MyCustomer myCustomer);

   int changeMyCusCusPlan(String myCusUuid);

   int updateReceiverByUid(@Param("cus")MyCustomer cus);


}